if(!submitRequest()){
return;}
setCurrentId('RastrearPedido-19001');
cursor_wait();
alert('paso');
cursor_clear();

var requestSubmitted = true;

function submitRequest() {
if(!requestSubmitted) {
requestSubmitted = true;
return true;
} 




<script type="text/javascript">
dojo.addOnLoad(function() { 
	//Make sure page is loaded at this point
	//Set requestedSubmitted to false
	requestSubmitted = false;
}); 	
</script>